Extension::Regexsplit Method

Syntax

.split as c (source_text as C, regex_pattern as C [, format as C [, options as C]])

Arguments

source_text

Source text to split.

regex_pattern

Regular expression to use in split

format

Format to use

options

Regular expression options.

Description

Split a regex expression. Tagged patterns are searched for and split.

Example

dim re as extension::Regex

? re.split("apples and oranges","([a-z]+)")
= apples
and
oranges

See Also